HAML on Rails 3 doesn`t work

Posted by Peter on Stack Overflow See other posts from Stack Overflow or by Peter
Published on 2010-09-25T20:22:02Z Indexed on 2010/12/21 5:21 UTC
Read the original article Hit count: 400

Filed under:
|

Hey there,

i have tried to render some files with HAML in Rails 3. But HAMl doesn`t work.

My testfiles have the extension .html.haml. In the GEMFile i have written gem 'haml' and executed the bundle install

When i call my testapp i become an error like this: Template is missing Missing template posts/index with {:locale=>[:en, :en], :formats=>[:html], :handlers=>[:rjs, :rhtml, :rxml, :builder, :erb]} in view paths "/Users/piet/Sites/blog/app/views"

Hope, i become some help here.

Peter

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about haml